package com.tencent.kuikly.core.coroutines

import kotlin.coroutines.*

/**
 * Creates a context for a new coroutine. It installs [Dispatchers.Default] when no other dispatcher or
 * [ContinuationInterceptor] is specified and adds optional support for debugging facilities (when turned on)
 * and copyable-thread-local facilities on JVM.
 */
//public  fun CoroutineScope.newCoroutineContext(context: CoroutineContext): CoroutineContext

///**
// * Creates a context for coroutine builder functions that do not launch a new coroutine, e.g. [withContext].
// * @suppress
// */
//@InternalCoroutinesApi
//public expect fun CoroutineContext.newCoroutineContext(addedContext: CoroutineContext): CoroutineContext
//
//@PublishedApi
//@Suppress("PropertyName")
//internal expect val DefaultDelay: Delay
//
//// countOrElement -- pre-cached value for ThreadContext.kt
//internal expect inline fun <T> withCoroutineContext(context: CoroutineContext, countOrElement: Any?, block: () -> T): T
//internal expect inline fun <T> withContinuationContext(continuation: Continuation<*>, countOrElement: Any?, block: () -> T): T
//internal expect fun Continuation<*>.toDebugString(): String
//internal expect val CoroutineContext.coroutineName: String?
